<%--
  Created by IntelliJ IDEA.
  User: Kirito
  Date: 2022/3/4
  Time: 14:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>添加员工信息</title>
    <link href="/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body>
<div id="container">
    <h1>添加员工</h1>
    <form action="/addStaff" method="post">
        <div class="form-group">
            <label>员工姓名</label>
            <input class="form-control" name="name" type="text">
        </div>
        <div class="form-group">
            <label>
                <input class="radio-inline" name="sex" type="radio" value="男">男
            </label>
            <label>
                <input class="radio-inline" name="sex" type="radio" value="女">女
            </label>
        </div>
        <div class="form-group">
            <label>出生日期</label>
            <input type="date" name="birthday" class="form-control">
        </div>
        <div class="form-group">
            <label>身高</label>
            <input type="text" class="form-control" name="height">

        </div>
        <div class="form-group">
            <button class="btn btn-primary">提交</button>
        </div>
    </form>
    <hr/>
    <p>执行结果：${message}</p>
    <p>员工姓名：${name}</p>
    <p>性别：${sex}</p>
    <p>生日：${birthday}</p>
    <p>身高：${height}</p>
</div>
</body>
</html>
